From 9f60fd73a81e7074da6a9ecf41801c56912908ae Mon Sep 17 00:00:00 2001 From: "emellor@leeni.uk.xensource.com" Date: Wed, 9 Aug 2006 10:13:34 +0100 Subject: [PATCH] Fix reference to buf in parsing of ocaml escapes. Signed-off-by: Ewan Mellor --- tools/python/xen/xend/sxp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/xen/xend/sxp.py b/tools/python/xen/xend/sxp.py index 551a8d3ec2..e37adfb119 100644 --- a/tools/python/xen/xend/sxp.py +++ b/tools/python/xen/xend/sxp.py @@ -291,7 +291,7 @@ class Parser: raise ParseError(self, "unexpected EOF") elif '0' <= c <= '7': octaldigit(c) - elif len(self.buf): + elif len(self.state.buf): octaldone() self.input_char(c) -- 2.30.2